> In the previous video, you understood loop
activities and their types. In this video, you'll understand
the do while activity. The do while activity enables the user to
create a loop that executes a specified part of automation while
a condition is met. The condition is evaluated before each execution
of the sequence. When the specified
condition is no longer met, the program exits the loop. If you look at the do
while activity in studio, you will notice that
the condition box comes after the body. This means that the loop
will execute at least once before exit even if
the condition is false. This type of activity can be useful to step through
all the elements of an array or execute a particular activity
multiple times. The user can increment
counters to browse through array indices or step
through a list of items. In the next video, you will see a demonstration
where a program prompts the user to
enter an even number. The do while activity
keeps asking for an input until an even number
is entered by the user. I would encourage
you to go through the demonstration and attempt
to repeat it on your own. That's it for this video. See you in the next demonstration.
Thanks for watching.